<?php
namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Comment extends Model{
    //指定表名
    protected $table ="comment";

    //指定id
    protected $primaryKey="id";

    //指定允许批量赋值的字段
   // protected $fillable = ['name','pass'];

    // 指定不允许批量赋值的字段
    protected $guarded = [];

    //自动维护时间戳
    public $timestamps = false;
	


}


?>